<style>
    *{margin:0;padding:0;}
    .box{margin-top: 10px; margin-left:20px; width:90%;height:360px; /*border: 1px solid #000;*/}
    /* div{ border: 1px solid #000;} */
    .id_box{width:99%;height: 100px;}
    .typeid{ width:40%;height: 60px;padding-top: 15px;float:left;}
    .name{width: 40%; height: 60px; padding-top: 15px;float:left;}
    .id_box p{margin-top:5px; }
    .avatar{margin-top:5px;margin-right : 5px;  float:right;}
    .other p{width:40% ; display: inline-block;}
    .note_cont{width:90%;word-wrap: break-word; }
</style>
<div class="box">
    <div class="id_box">
        <div class="typeid">
            <p>ID:{$data.id}</p>
            <p>账号:{$data.admin_name}</p>
        </div>
        <div class="name">        
            <p>分组:{$data.role_id|model('adminrole')->getAdminroleName}</p>
            <p>笔名:{$data.pen_name}</p>            
        </div>
        <!-- <div class="avatar">
            <img src="/static/images/default.jpg" alt="avatar" width="80px" height="80px" >
        </div> -->
    </div>
    <div class="other">
        <div class="email">
            <p>邮箱:</p>
            <p>{$data.email}</p>
        </div>
        <div class="ctime">
            <p>创建时间:</p>
            <P>{$data.ctime|date="Y-m-d",###}</p>
        </div>
        <div class="isban">
            <p>是否启用:</p>
            <p>
                {empty name="data.isban" value="0"}
                已启用
                {else/}
                已停用
                {/empty}
            </p> 
        </div>
        <div class="logintime">
            <p>最近登陆时间:</p>
            <p>
                {empty name="data.ltime" value="0"}
                    无登陆记录
                {else/}
                {$data.ltime|date="Y-m-d",###}
                {/empty}
            </p>
        </div>
        <div class="loginip">
            <p>最近登陆IP:</p>
            <p>{$data.loginip|inet_ntoa}</p>
        </div>
    </div>
    <div class="note">
        <p class="note">备注:</p>
        <p class="note_cont">{$data.note}</p>
    </div>
</div>